<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li ><a href="{:U('RedbagGame/detaillist',array('id'=>$task['task_id']))}">红包任务列表</a></li>
			<li class="active"><a >编辑</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form" action="{:U('RedbagGame/edit')}">
		   <input type="hidden" name="id" value="{$task.id}">
			<fieldset>

				<div class="control-group">
					<label class="control-label">参与人</label>
					<div class="controls">
						<input type="text" value="{$task.user_nicename}" readonly>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">红包任务状态</label>
					<div class="controls">
						<input type="text" value="{$task.status_txt}" readonly>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">支付金额</label>
					<div class="controls">
						<input type="text"   value="{$task.paymoney}" readonly>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">抽中金额</label>
					<div class="controls">
						<input type="text" name="drawmoney"  value="{$task.drawmoney}"  {$task.readonly}>
						<span class="form-required">状态为进行中才可以编辑</span>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">直播间ID</label>
					<div class="controls">
						<input type="text"   value="{$task.liveid}" readonly>
					</div>
				</div>

			</fieldset>
			<div class="form-actions">
				<button type="submit" class="btn btn-primary js-ajax-submit">{:L('EDIT')}</button>
				<a class="btn" href="{:U('RedbagGame/detaillist',array('id'=>$task['task_id']))}">{:L('BACK')}</a>
			</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/content_addtop.js"></script>
</body>
</html>